<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>2023人工智能大会独家冠名赞助 - 赞助详情</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome 图标 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    
    <style>
        :root {
            --primary: #3b82f6;
            --primary-light: #60a5fa;
            --primary-dark: #2563eb;
            --secondary: #8b5cf6;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-tertiary: #94a3b8;
            --bg-light: #f8fafc;
            --bg-white: #ffffff;
            --bg-gray: #f1f5f9;
            --bg-gray-dark: #e2e8f0;
            --border-light: #e2e8f0;
            --border-medium: #cbd5e1;
            --radius: 12px;
            --radius-sm: 8px;
            --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-primary);
            padding-top: 56px;
            padding-bottom: 60px;
        }
        
        /* 顶部导航 */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 56px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 16px;
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
        }
        
        .nav-title {
            font-size: 1.1rem;
            font-weight: 600;
            text-align: center;
            flex: 1;
        }
        
        .nav-action {
            color: var(--text-secondary);
            background: none;
            border: none;
            font-size: 1.2rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .nav-action:hover {
            background-color: var(--bg-light);
        }
        
        .nav-action.primary {
            color: var(--primary);
        }
        
        /* 图片预览区 */
        .image-preview {
            position: relative;
            width: 100%;
            background-color: #000;
        }
        
        .preview-images {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
        }
        
        .preview-images::-webkit-scrollbar {
            display: none;
        }
        
        .preview-image {
            min-width: 100%;
            scroll-snap-align: start;
        }
        
        .preview-image img {
            width: 100%;
            height: auto;
            max-height: 300px;
            object-fit: cover;
        }
        
        .image-count {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.8rem;
        }
        
        /* 赞助基本信息 */
        .sponsorship-header {
            padding: 16px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
        }
        
        .sponsor-info {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }
        
        .sponsor-logo {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            background-color: var(--bg-gray);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-tertiary);
            font-size: 1.8rem;
        }
        
        .sponsor-logo img {
            width: 100%;
            height: 100%;
            border-radius: 10px;
            object-fit: cover;
        }
        
        .sponsor-details {
            flex: 1;
        }
        
        .sponsor-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 4px;
        }
        
        .sponsorship-type {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 500;
            margin-right: 8px;
        }
        
        .type-platinum {
            background-color: rgba(220, 220, 220, 0.3);
            color: #e5e4e2;
        }
        
        .sponsorship-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        /* 赞助内容区 */
        .sponsorship-content {
            padding: 16px;
            background-color: var(--bg-white);
            margin-bottom: 12px;
        }
        
        .sponsorship-title {
            font-weight: 600;
            font-size: 1.2rem;
            margin-bottom: 12px;
            line-height: 1.4;
        }
        
        .sponsorship-description {
            font-size: 0.95rem;
            color: var(--text-primary);
            line-height: 1.6;
            margin-bottom: 16px;
        }
        
        .content-section {
            margin-bottom: 16px;
        }
        
        .content-section-title {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 8px;
            color: var(--text-primary);
        }
        
        .content-list {
            padding-left: 20px;
            margin-bottom: 12px;
        }
        
        .content-list li {
            font-size: 0.95rem;
            color: var(--text-primary);
            line-height: 1.6;
            margin-bottom: 6px;
        }
        
        .content-highlight {
            background-color: rgba(59, 130, 246, 0.1);
            border-left: 3px solid var(--primary);
            padding: 12px;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            margin-bottom: 16px;
        }
        
        .highlight-title {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 6px;
            color: var(--primary);
        }
        
        .highlight-content {
            font-size: 0.9rem;
            color: var(--text-primary);
            line-height: 1.5;
        }
        
        /* 数据统计 */
        .sponsorship-stats {
            display: flex;
            justify-content: space-around;
            padding: 16px;
            background-color: var(--bg-white);
            margin-bottom: 12px;
            border-bottom: 1px solid var(--border-light);
        }
        
        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .stat-value {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
        }
        
        .stat-label {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        /* 行动按钮组 */
        .action-buttons {
            display: flex;
            padding: 12px 16px;
            gap: 12px;
            background-color: var(--bg-white);
            position: sticky;
            top: 56px;
            z-index: 900;
            border-bottom: 1px solid var(--border-light);
        }
        
        .action-btn {
            flex: 1;
            padding: 10px;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        
        .primary-btn {
            background-color: var(--primary);
            color: white;
        }
        
        .secondary-btn {
            background-color: var(--bg-gray);
            color: var(--text-secondary);
        }
        
        .icon-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background-color: var(--bg-gray);
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
        }
        
        .icon-btn.active {
            color: var(--danger);
        }
        
        /* 标签区域 */
        .tags-section {
            padding: 16px;
            background-color: var(--bg-white);
            margin-bottom: 12px;
        }
        
        .tags-title {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }
        
        .tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .tag {
            background-color: var(--bg-gray);
            color: var(--text-secondary);
            padding: 4px 12px;
            border-radius: 16px;
            font-size: 0.85rem;
        }
        
        .tag.highlight {
            background-color: rgba(59, 130, 246, 0.1);
            color: var(--primary);
        }
        
        /* 留言区域 */
        .comments-section {
            background-color: var(--bg-white);
            margin-bottom: 12px;
        }
        
        .section-header {
            padding: 12px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-light);
        }
        
        .section-title {
            font-weight: 600;
            font-size: 1rem;
        }
        
        .section-action {
            font-size: 0.85rem;
            color: var(--primary);
        }
        
        /* 留言输入框 */
        .comment-input-container {
            padding: 12px 16px;
            border-bottom: 1px solid var(--border-light);
        }
        
        .comment-input-wrapper {
            display: flex;
            gap: 10px;
        }
        
        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: var(--bg-gray);
            flex-shrink: 0;
            overflow: hidden;
        }
        
        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .comment-input-box {
            flex: 1;
            position: relative;
        }
        
        .comment-input {
            width: 100%;
            padding: 10px 12px;
            border-radius: 18px;
            border: 1px solid var(--border-light);
            background-color: var(--bg-gray);
            font-size: 0.9rem;
            outline: none;
            resize: none;
            height: 38px;
        }
        
        .comment-input:focus {
            border-color: var(--primary-light);
            background-color: white;
        }
        
        .send-comment {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--primary);
            font-size: 1rem;
        }
        
        /* 留言列表 */
        .comments-list {
            padding: 0 16px;
            max-height: 400px;
            overflow-y: auto;
        }
        
        .comment-item {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-light);
        }
        
        .comment-item:last-child {
            border-bottom: none;
        }
        
        .comment-header {
            display: flex;
            gap: 10px;
            margin-bottom: 8px;
        }
        
        .comment-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: var(--bg-gray);
            flex-shrink: 0;
            overflow: hidden;
        }
        
        .comment-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .comment-author-info {
            flex: 1;
        }
        
        .comment-author {
            font-weight: 500;
            font-size: 0.9rem;
            margin-bottom: 2px;
        }
        
        .comment-time {
            font-size: 0.75rem;
            color: var(--text-tertiary);
        }
        
        .comment-content {
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 8px;
            padding-left: 46px;
        }
        
        .comment-actions {
            display: flex;
            gap: 16px;
            padding-left: 46px;
            font-size: 0.8rem;
        }
        
        .comment-action {
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 4px;
            background: none;
            border: none;
        }
        
        .comment-action:hover {
            color: var(--primary);
        }
        
        .comment-action.active {
            color: var(--danger);
        }
        
        /* 回复列表 */
        .replies-list {
            margin-top: 8px;
            padding-left: 46px;
        }
        
        .reply-item {
            background-color: var(--bg-gray);
            border-radius: var(--radius-sm);
            padding: 8px;
            margin-bottom: 8px;
        }
        
        .reply-header {
            display: flex;
            gap: 8px;
            margin-bottom: 4px;
        }
        
        .reply-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background-color: var(--border-light);
            flex-shrink: 0;
            overflow: hidden;
        }
        
        .reply-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .reply-author-info {
            flex: 1;
        }
        
        .reply-author {
            font-weight: 500;
            font-size: 0.85rem;
        }
        
        .reply-content {
            font-size: 0.85rem;
            line-height: 1.4;
            margin-bottom: 6px;
        }
        
        .reply-actions {
            display: flex;
            gap: 12px;
            font-size: 0.75rem;
        }
        
        /* 回复输入框 */
        .reply-input-container {
            display: flex;
            gap: 8px;
            margin-top: 8px;
            padding-left: 46px;
        }
        
        .reply-input {
            flex: 1;
            padding: 6px 10px;
            border-radius: 14px;
            border: 1px solid var(--border-light);
            background-color: var(--bg-gray);
            font-size: 0.85rem;
            outline: none;
        }
        
        .reply-input:focus {
            border-color: var(--primary-light);
            background-color: white;
        }
        
        .send-reply {
            background: none;
            border: none;
            color: var(--primary);
            font-size: 0.85rem;
            display: flex;
            align-items: center;
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid var(--border-light);
            z-index: 1000;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            font-size: 0.7rem;
            gap: 4px;
            flex: 1;
            height: 100%;
            text-decoration: none;
        }
        
        .nav-item.active {
            color: var(--primary);
        }
        
        .nav-icon {
            font-size: 1.2rem;
        }
        
        /* 提示消息 */
        .toast {
            position: fixed;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 16px;
            border-radius: 4px;
            z-index: 9999;
            font-size: 0.85rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .toast.show {
            opacity: 1;
        }
        
        /* 相关赞助推荐 */
        .related-sponsorships {
            background-color: var(--bg-white);
            padding-bottom: 16px;
            margin-bottom: 12px;
        }
        
        .related-list {
            padding: 0 16px;
            display: flex;
            gap: 12px;
            overflow-x: auto;
            scrollbar-width: none;
            padding-top: 12px;
        }
        
        .related-list::-webkit-scrollbar {
            display: none;
        }
        
        .related-item {
            min-width: 240px;
            background-color: var(--bg-light);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            text-decoration: none;
            color: var(--text-primary);
        }
        
        .related-image {
            width: 100%;
            height: 120px;
            position: relative;
        }
        
        .related-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .related-content {
            padding: 10px;
        }
        
        .related-title {
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 4px;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .related-sponsor {
            font-size: 0.8rem;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 4px;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="top-nav">
        <button class="nav-action" id="backBtn">
            <i class="fas fa-arrow-left"></i>
        </button>
        <div class="nav-title">赞助详情</div>
        <button class="nav-action primary" id="shareBtn">
            <i class="fas fa-share-alt"></i>
        </button>
    </div>
    
    <!-- 图片预览区 -->
    <div class="image-preview">
        <div class="preview-images">
            <div class="preview-image">
                <img src="https://picsum.photos/id/180/800/600" alt="赞助活动现场">
            </div>
            <div class="preview-image">
                <img src="https://picsum.photos/id/48/800/600" alt="产品展示">
            </div>
            <div class="preview-image">
                <img src="https://picsum.photos/id/239/800/600" alt="演讲嘉宾">
            </div>
        </div>
        <div class="image-count">1/3</div>
    </div>
    
    <!-- 行动按钮组 -->
    <div class="action-buttons">
        <button class="action-btn primary-btn" id="participateBtn">
            <i class="fas fa-hand-holding-heart"></i>
            <span>申请参与</span>
        </button>
        <button class="icon-btn" id="collectBtn">
            <i class="far fa-bookmark"></i>
        </button>
        <button class="icon-btn" id="likeBtn">
            <i class="far fa-heart"></i>
        </button>
    </div>
    
    <!-- 赞助基本信息 -->
    <div class="sponsorship-header">
        <div class="sponsor-info">
            <div class="sponsor-logo">
                <img src="https://picsum.photos/id/28/200/200" alt="科技未来公司">
            </div>
            <div class="sponsor-details">
                <div class="sponsor-name">科技未来有限公司</div>
                <div class="sponsorship-meta">
                    <span class="sponsorship-type type-platinum">铂金级赞助</span>
                    <span class="meta-item">
                        <i class="far fa-calendar-alt"></i>
                        <span>2023-10-15 至 2023-12-30</span>
                    </span>
                    <span class="meta-item">
                        <i class="fas fa-map-marker-alt"></i>
                        <span>全国线上</span>
                    </span>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 赞助内容区 -->
    <div class="sponsorship-content">
        <h1 class="sponsorship-title">2023人工智能大会独家冠名赞助</h1>
        
        <div class="sponsorship-description">
            作为本次大会的独家冠名赞助商，科技未来有限公司将提供最新的AI技术展示和行业前沿讲座，助力行业交流与发展。本次大会聚焦人工智能在各行业的应用与创新，预计将吸引超过5000名专业人士参与。
        </div>
        
        <div class="content-section">
            <h3 class="content-section-title">赞助内容包括：</h3>
            <ul class="content-list">
                <li>大会全程独家冠名权，所有宣传材料将突出展示赞助商品牌</li>
                <li>主会场主题演讲机会（30分钟），展示企业最新技术成果</li>
                <li>100平米专属展区，展示企业产品与解决方案</li>
                <li>大会官方网站、公众号等平台的品牌宣传</li>
                <li>参会嘉宾资料袋品牌植入</li>
                <li>大会视频回放品牌露出</li>
            </ul>
        </div>
        
        <div class="content-highlight">
            <div class="highlight-title">参与权益</div>
            <div class="highlight-content">
                本次赞助面向行业内企业开放合作机会，参与企业将获得与500+行业领袖面对面交流的机会，展示品牌形象，拓展业务合作。我们欢迎人工智能领域相关企业申请成为分会场合作伙伴或展示赞助商。
            </div>
        </div>
        
        <div class="content-section">
            <h3 class="content-section-title">活动日程安排</h3>
            <ul class="content-list">
                <li><strong>10月15日</strong>：大会开幕式 + 主题论坛</li>
                <li><strong>10月16日</strong>：技术分论坛 + 产品展示</li>
                <li><strong>10月17日</strong>：行业应用案例分享 + 闭门研讨会</li>
                <li><strong>10月18-30日</strong>：线上展示与互动</li>
            </ul>
        </div>
    </div>
    
    <!-- 数据统计 -->
    <div class="sponsorship-stats">
        <div class="stat-item">
            <span class="stat-value">2.4k</span>
            <span class="stat-label">浏览量</span>
        </div>
        <div class="stat-item">
            <span class="stat-value">356</span>
            <span class="stat-label">关注数</span>
        </div>
        <div class="stat-item">
            <span class="stat-value">89</span>
            <span class="stat-label">评论数</span>
        </div>
        <div class="stat-item">
            <span class="stat-value">42</span>
            <span class="stat-label">参与申请</span>
        </div>
    </div>
    
    <!-- 标签区域 -->
    <div class="tags-section">
        <div class="tags-title">相关标签</div>
        <div class="tags-container">
            <span class="tag highlight">人工智能</span>
            <span class="tag highlight">技术大会</span>
            <span class="tag">行业峰会</span>
            <span class="tag">科技</span>
            <span class="tag">创新创业</span>
            <span class="tag">企业合作</span>
        </div>
    </div>
    
    <!-- 相关赞助推荐 -->
    <div class="related-sponsorships">
        <div class="section-header">
            <div class="section-title">相关赞助推荐</div>
            <div class="section-action">查看更多</div>
        </div>
        <div class="related-list">
            <a href="#" class="related-item">
                <div class="related-image">
                    <img src="https://picsum.photos/id/160/400/300" alt="AI创新大赛">
                </div>
                <div class="related-content">
                    <div class="related-title">2023人工智能创新大赛赞助计划</div>
                    <div class="related-sponsor">
                        <i class="fas fa-building" style="font-size: 0.7rem;"></i>
                        <span>智慧科技研究院</span>
                    </div>
                </div>
            </a>
            <a href="#" class="related-item">
                <div class="related-image">
                    <img src="https://picsum.photos/id/119/400/300" alt="数字经济论坛">
                </div>
                <div class="related-content">
                    <div class="related-title">数字经济与人工智能融合发展论坛</div>
                    <div class="related-sponsor">
                        <i class="fas fa-building" style="font-size: 0.7rem;"></i>
                        <span>未来数字集团</span>
                    </div>
                </div>
            </a>
            <a href="#" class="related-item">
                <div class="related-image">
                    <img src="https://picsum.photos/id/96/400/300" alt="AI人才培养">
                </div>
                <div class="related-content">
                    <div class="related-title">人工智能人才培养计划企业合作</div>
                    <div class="related-sponsor">
                        <i class="fas fa-building" style="font-size: 0.7rem;"></i>
                        <span>智联教育基金会</span>
                    </div>
                </div>
            </a>
        </div>
    </div>
    
    <!-- 留言区域 -->
    <div class="comments-section">
        <div class="section-header">
            <div class="section-title">留言讨论 (89)</div>
            <div class="section-action">最新</div>
        </div>
        
        <!-- 留言输入框 -->
        <div class="comment-input-container">
            <div class="user-avatar">
                <img src="https://picsum.photos/id/64/100/100" alt="当前用户">
            </div>
            <div class="comment-input-box">
                <textarea class="comment-input" placeholder="分享你的想法..."></textarea>
                <button class="send-comment" id="sendCommentBtn">
                    <i class="fas fa-paper-plane"></i>
                </button>
            </div>
        </div>
        
        <!-- 留言列表 -->
        <div class="comments-list">
            <!-- 留言1 -->
            <div class="comment-item">
                <div class="comment-header">
                    <div class="comment-avatar">
                        <img src="https://picsum.photos/id/91/100/100" alt="用户头像">
                    </div>
                    <div class="comment-author-info">
                        <div class="comment-author">李明 - 人工智能研究员</div>
                        <div class="comment-time">2小时前</div>
                    </div>
                </div>
                <div class="comment-content">
                    这次大会的阵容非常强大，特别是科技未来公司展示的最新AI模型令人期待。不知道普通观众是否可以参加？需要什么条件吗？
                </div>
                <div class="comment-actions">
                    <button class="comment-action">
                        <i class="far fa-heart"></i>
                        <span>24</span>
                    </button>
                    <button class="comment-action reply-btn">
                        <i class="far fa-comment"></i>
                        <span>回复</span>
                    </button>
                </div>
                
                <!-- 回复列表 -->
                <div class="replies-list">
                    <div class="reply-item">
                        <div class="reply-header">
                            <div class="reply-avatar">
                                <img src="https://picsum.photos/id/28/100/100" alt="官方账号">
                            </div>
                            <div class="reply-author-info">
                                <div class="reply-author">科技未来官方</div>
                            </div>
                        </div>
                        <div class="reply-content">
                            您好，普通观众可以通过官网申请参会，需要填写基本信息并通过审核。专业观众优先，名额有限，请尽快申请。
                        </div>
                        <div class="reply-actions">
                            <button class="comment-action">
                                <i class="far fa-heart"></i>
                                <span>8</span>
                            </button>
                            <button class="comment-action reply-btn">
                                <i class="far fa-comment"></i>
                                <span>回复</span>
                            </button>
                        </div>
                    </div>
                    
                    <!-- 回复输入框 -->
                    <div class="reply-input-container" style="display: none;">
                        <input type="text" class="reply-input" placeholder="回复 @李明...">
                        <button class="send-reply">发送</button>
                    </div>
                </div>
            </div>
            
            <!-- 留言2 -->
            <div class="comment-item">
                <div class="comment-header">
                    <div class="comment-avatar">
                        <img src="https://picsum.photos/id/65/100/100" alt="用户头像">
                    </div>
                    <div class="comment-author-info">
                        <div class="comment-author">张晓华 - 科技公司CEO</div>
                        <div class="comment-time">昨天 15:30</div>
                    </div>
                </div>
                <div class="comment-content">
                    我们公司也想参与类似的赞助合作，不知道下一届大会的赞助方案什么时候会出来？有具体的联系方式吗？
                </div>
                <div class="comment-actions">
                    <button class="comment-action active">
                        <i class="fas fa-heart"></i>
                        <span>15</span>
                    </button>
                    <button class="comment-action reply-btn">
                        <i class="far fa-comment"></i>
                        <span>回复</span>
                    </button>
                </div>
                
                <!-- 回复输入框 -->
                <div class="reply-input-container" style="display: none;">
                    <input type="text" class="reply-input" placeholder="回复 @张晓华...">
                    <button class="send-reply">发送</button>
                </div>
            </div>
            
            <!-- 留言3 -->
            <div class="comment-item">
                <div class="comment-header">
                    <div class="comment-avatar">
                        <img src="https://picsum.photos/id/22/100/100" alt="用户头像">
                    </div>
                    <div class="comment-author-info">
                        <div class="comment-author">王海燕 - 高校教师</div>
                        <div class="comment-time">3天前</div>
                    </div>
                </div>
                <div class="comment-content">
                    作为教育工作者，非常关注AI在教育领域的应用。请问这次大会会有专门的教育科技分论坛吗？希望能有机会参与交流。
                </div>
                <div class="comment-actions">
                    <button class="comment-action">
                        <i class="far fa-heart"></i>
                        <span>32</span>
                    </button>
                    <button class="comment-action reply-btn">
                        <i class="far fa-comment"></i>
                        <span>回复</span>
                    </button>
                </div>
                
                <!-- 回复列表 -->
                <div class="replies-list">
                    <div class="reply-item">
                        <div class="reply-header">
                            <div class="reply-avatar">
                                <img src="https://picsum.photos/id/91/100/100" alt="用户头像">
                            </div>
                            <div class="reply-author-info">
                                <div class="reply-author">李明</div>
                            </div>
                        </div>
                        <div class="reply-content">
                            有的，我看到日程安排里有教育科技分论坛，10月16日下午，听说会有几位知名高校的教授发言。
                        </div>
                        <div class="reply-actions">
                            <button class="comment-action">
                                <i class="far fa-heart"></i>
                                <span>5</span>
                            </button>
                            <button class="comment-action reply-btn">
                                <i class="far fa-comment"></i>
                                <span>回复</span>
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- 回复输入框 -->
                <div class="reply-input-container" style="display: none;">
                    <input type="text" class="reply-input" placeholder="回复 @王海燕...">
                    <button class="send-reply">发送</button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 底部导航 -->
    <div class="bottom-nav">
        <a href="#" class="nav-item">
            <i class="fas fa-home nav-icon"></i>
            <span>首页</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-compass nav-icon"></i>
            <span>发现</span>
        </a>
        <a href="#" class="nav-item active">
            <i class="fas fa-hand-holding-heart nav-icon"></i>
            <span>赞助</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-bell nav-icon"></i>
            <span>通知</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-user nav-icon"></i>
            <span>我的</span>
        </a>
    </div>
    
    <!-- 提示消息元素 -->
    <div class="toast" id="toast"></div>
    
    <!-- Bootstrap JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // DOM元素
        const backBtn = document.getElementById('backBtn');
        const shareBtn = document.getElementById('shareBtn');
        const participateBtn = document.getElementById('participateBtn');
        const collectBtn = document.getElementById('collectBtn');
        const likeBtn = document.getElementById('likeBtn');
        const sendCommentBtn = document.getElementById('sendCommentBtn');
        const replyBtns = document.querySelectorAll('.reply-btn');
        const sendReplyBtns = document.querySelectorAll('.send-reply');
        const previewImages = document.querySelector('.preview-images');
        const imageCount = document.querySelector('.image-count');
        
        // 图片预览切换
        let currentImageIndex = 0;
        const totalImages = previewImages.children.length;
        
        previewImages.addEventListener('scroll', function() {
            // 计算当前可见的图片索引
            const scrollPosition = this.scrollLeft;
            const imageWidth = this.offsetWidth;
            currentImageIndex = Math.round(scrollPosition / imageWidth);
            imageCount.textContent = `${currentImageIndex + 1}/${totalImages}`;
        });
        
        // 点击事件 - 返回
        backBtn.addEventListener('click', function() {
            history.back();
        });
        
        // 点击事件 - 分享
        shareBtn.addEventListener('click', function() {
            showToast('分享功能已打开');
        });
        
        // 点击事件 - 申请参与
        participateBtn.addEventListener('click', function() {
            showToast('申请参与表单已打开');
        });
        
        // 点击事件 - 收藏
        collectBtn.addEventListener('click', function() {
            this.classList.toggle('active');
            const icon = this.querySelector('i');
            
            if (this.classList.contains('active')) {
                icon.classList.remove('far');
                icon.classList.add('fas');
                showToast('已收藏该赞助');
            } else {
                icon.classList.remove('fas');
                icon.classList.add('far');
                showToast('已取消收藏');
            }
        });
        
        // 点击事件 - 点赞
        likeBtn.addEventListener('click', function() {
            this.classList.toggle('active');
            const icon = this.querySelector('i');
            
            if (this.classList.contains('active')) {
                icon.classList.remove('far');
                icon.classList.add('fas');
                showToast('已点赞');
            } else {
                icon.classList.remove('fas');
                icon.classList.add('far');
                showToast('已取消点赞');
            }
        });
        
        // 点击事件 - 发送评论
        sendCommentBtn.addEventListener('click', function() {
            const commentInput = document.querySelector('.comment-input');
            const commentText = commentInput.value.trim();
            
            if (commentText) {
                showToast('评论已发布');
                commentInput.value = '';
                // 实际应用中这里会添加新评论到列表
            } else {
                showToast('请输入评论内容');
            }
        });
        
        // 点击事件 - 回复按钮
        replyBtns.forEach(btn => {
            btn.addEventListener('click', function() {
                // 找到最近的回复输入框
                const commentItem = this.closest('.comment-item, .reply-item');
                const replyInputContainer = commentItem.querySelector('.reply-input-container');
                
                // 隐藏其他所有回复输入框
                document.querySelectorAll('.reply-input-container').forEach(container => {
                    if (container !== replyInputContainer) {
                        container.style.display = 'none';
                    }
                });
                
                // 切换当前回复输入框的显示状态
                if (replyInputContainer.style.display === 'none' || !replyInputContainer.style.display) {
                    replyInputContainer.style.display = 'flex';
                    replyInputContainer.querySelector('.reply-input').focus();
                } else {
                    replyInputContainer.style.display = 'none';
                }
            });
        });
        
        // 点击事件 - 发送回复
        sendReplyBtns.forEach(btn => {
            btn.addEventListener('click', function() {
                const replyInput = this.previousElementSibling;
                const replyText = replyInput.value.trim();
                
                if (replyText) {
                    showToast('回复已发布');
                    replyInput.value = '';
                    replyInput.parentElement.style.display = 'none';
                    // 实际应用中这里会添加新回复到列表
                } else {
                    showToast('请输入回复内容');
                }
            });
        });
        
        // 底部导航点击
        document.querySelectorAll('.nav-item').forEach(item => {
            item.addEventListener('click', function(e) {
                e.preventDefault();
                document.querySelectorAll('.nav-item').forEach(i => i.classList.remove('active'));
                this.classList.add('active');
                const title = this.querySelector('span').textContent;
                showToast(`已切换到${title}`);
            });
        });
        
        // 提示消息功能
        function showToast(message) {
            const toast = document.getElementById('toast');
            toast.textContent = message;
            toast.classList.add('show');
            
            setTimeout(() => {
                toast.classList.remove('show');
            }, 2000);
        }
    </script>
</body>
</html>

